package org.elephantt.webby;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public class SimpleRequestResponseFactory implements RequestResponseFactory<Request, Response> {
  public Request createRequest(HttpServletRequest request, Map<String, String> urlParamMap) {
    return new Request(request, urlParamMap);
  }

  public Response createResponse(HttpServletResponse response) {
    return new Response(response);
  }
}
